﻿c_styles={};c_menus={};c_hideTimeout=500;c_subShowTimeout=20;c_keepHighlighted=true;c_findCURRENT=false;c_findCURRENTTree=true;c_overlapControlsInIE=true;c_rightToLeft=false;
c_imagesPath=RootPath + "/Images/MD_System/"; // path to the directory containing the menu images


c_styles['Popup']=[ // CSS class for the PopupMenu1 menu tree
[
// MENU BOX STYLE
1,		// BorderWidth
'solid',	// BorderStyle (CSS valid values except 'none')
'#252455',	// BorderColor ('color')
0,		// Padding
'#fff',		// Background ('color','transparent','[image_source]')
'',		// IEfilter (only transition filters work well - not static filters)
''		// Custom additional CSS for the menu box (valid CSS)
],[
// MENU ITEMS STYLE
0,		// BorderWidth
'solid',	// BorderStyle (CSS valid values except 'none')
'solid',	// OVER BorderStyle
'#fff',		// BorderColor ('color')
'#CBCBEF',	// OVER BorderColor
3,		// Padding
'#fff',		// Background ('color','transparent','[image_source]')
'#CBCBEF',	// OVER Background
'#252455',	// Color
'#000000',	// OVER Color
'12px',		// FontSize (values in CSS valid units - %,em,ex,px,pt)
'verdana,arial,helvetica,sans-serif',	// FontFamily
'bold',	// FontWeight (CSS valid values - 'bold','normal','bolder','lighter','100',...,'900')
'none',		// TextDecoration (CSS valid values - 'none','underline','overline','line-through')
'none',		// OVER TextDecoration
'left',		// TextAlign ('left','center','right','justify')
1,		// ItemsSeparatorSize
'dashed',	// ItemsSeparatorStyle (border-style valid values)
'#eee',		// ItemsSeparatorColor ('color','transparent')
0,		// ItemsSeparatorSpacing
true,			// UseSubMenuImage (true,false)
'[v_arrow.gif]',	// SubMenuImageSource ('[image_source]')
'[v_arrow_over.gif]',	// OverSubMenuImageSource
7,			// SubMenuImageWidth
7,			// SubMenuImageHeight
'7',			// SubMenuImageVAlign ('pixels from item top','middle')
'solid',		// VISITED BorderStyle
'#fff',			// VISITED BorderColor
'#fff',			// VISITED Background
'#252455',		// VISITED Color
'none',			// VISITED TextDecoration
'[v_arrow.gif]',	// VISITED SubMenuImageSource
'solid',		// CURRENT BorderStyle
'#CBCBEF',		// CURRENT BorderColor
'#fff',			// CURRENT Background
'#252455',		// CURRENT Color
'none',			// CURRENT TextDecoration
'[v_arrow.gif]',	// CURRENT SubMenuImageSource
'',		// Custom additional CSS for the items (valid CSS)
'',		// OVER Custom additional CSS for the items (valid CSS)
'',		// CURRENT Custom additional CSS for the items (valid CSS)
''		// VISITED Custom additional CSS for the items (valid CSS)
]];



/*****************************
* MENU NGANG PHÍA TRÊN
*****************************/
c_styles['MM_H']=[ // MainMenu (the shorter the class name the better)
[
// MENU BOX STYLE
0,		// BorderWidth
'solid',	// BorderStyle (CSS valid values except 'none')
'#8F90C4',	// BorderColor ('color')
0,		// Padding
'transparent',	//#FFFFFF Background ('color','transparent','[image_source]')
'',		// IEfilter (only transition filters work well - not static filters)
'transparent'		// Custom additional CSS for the menu box (valid CSS)
],[
// MENU ITEMS STYLE
0,		// BorderWidth
'solid',	// BorderStyle (CSS valid values except 'none')
'solid',	// OVER BorderStyle
'#FFFFFF',	// BorderColor ('color')
'#6FADE6',	// OVER BorderColor
2,		// Padding
'transparent',	//#FFFFFF Background ('color','transparent','[image_source]')
'#dedede',	//#EFFFE2 OVER Background
'#000',	// Color
'#000',	// OVER Color
'12px',		// FontSize (values in CSS valid units - %,em,ex,px,pt)
'verdana,arial,helvetica,sans-serif',	// FontFamily
'bold',		// FontWeight (CSS valid values - 'bold','normal','bolder','lighter','100',...,'900')
'none',		// TextDecoration (CSS valid values - 'none','underline','overline','line-through')
'none',		// OVER TextDecoration
'left',		// TextAlign ('left','center','right','justify')
0,		// ItemsSeparatorSize
'solid',	// ItemsSeparatorStyle (border-style valid values)
'#8F90C4',	// ItemsSeparatorColor ('color','transparent')
0,		// ItemsSeparatorSpacing
true,			// UseSubMenuImage (true,false)
'[h_web2.0_arrow.gif]',	// SubMenuImageSource ('[image_source]')
'[h_web2.0_arrow.gif]',	// OverSubMenuImageSource
8,			// SubMenuImageWidth
4,			// SubMenuImageHeight
'middle',			// SubMenuImageVAlign ('pixels from item top','middle')
'solid',		// VISITED BorderStyle
'#FFFFFF',		// VISITED BorderColor
'',		//#FFFFFF VISITED Background
'#000000',		//#0089C4 VISITED Color
'none',			// VISITED TextDecoration
'[h_web2.0_arrow.gif]',	// VISITED SubMenuImageSource
'solid',		// CURRENT BorderStyle
'#FFFFFF',		// CURRENT BorderColor
'#FFFAE6',		// CURRENT Background
'#000000',		//#0089C4 CURRENT Color
'none',			// CURRENT TextDecoration
'[h_web2.0_arrow.gif]',	// CURRENT SubMenuImageSource
'height: 20px;vertical-align:middle;padding-top:6px;margin-top:2px;',		// Custom additional CSS for the items (valid CSS)
'',		// OVER Custom additional CSS for the items (valid CSS)
'',		// CURRENT Custom additional CSS for the items (valid CSS)
''		// VISITED Custom additional CSS for the items (valid CSS)
]];


c_styles['SM_H']=[ // SubMenus
[
// MENU BOX STYLE
1,		// BorderWidth
'solid',	// BorderStyle (CSS valid values except 'none')
'#002d96',	//#F1922F BorderColor ('color')
0,		// Padding
'transparent',	// Background ('color','transparent','[image_source]')
'',		// IEfilter (only transition filters work well - not static filters)
'border-bottom-width:2px;'	// Custom additional CSS for the menu box (valid CSS)
],[
// MENU ITEMS STYLE
0,		// BorderWidth
'solid',	// BorderStyle (CSS valid values except 'none')
'solid',	// OVER BorderStyle
'#FFFFFF',	// BorderColor ('color')
'#FFFFFF',	// OVER BorderColor
5,		// Padding
'#f6f6f6',	//#FFFFFF Background ('color','transparent','[image_source]')
'#ffeec2',	//#dedede#EFFFE2 OVER Background
'#000000',	//#0089C4 Color
'#000',	//#EA6D00 OVER Color
'12px',		// FontSize (values in CSS valid units - %,em,ex,px,pt)
'verdana,arial,helvetica,sans-serif',	// FontFamily
'bold',		// FontWeight (CSS valid values - 'bold','normal','bolder','lighter','100',...,'900')
'none',		// TextDecoration (CSS valid values - 'none','underline','overline','line-through')
'none',		// OVER TextDecoration
'left',		// TextAlign ('left','center','right','justify')
0,		// ItemsSeparatorSize
'solid',	// ItemsSeparatorStyle (border-style valid values)
'#8F90C4',	// ItemsSeparatorColor ('color','transparent')
0,		// ItemsSeparatorSpacing
true,			// UseSubMenuImage (true,false)
'[v_web2.0_arrow.gif]',	// SubMenuImageSource ('[image_source]')
'[v_web2.0_arrow.gif]',	// OverSubMenuImageSource
8,			// SubMenuImageWidth
8,			// SubMenuImageHeight
'middle',			// SubMenuImageVAlign ('pixels from item top','middle')
'solid',		// VISITED BorderStyle
'#FFFFFF',		// VISITED BorderColor
'#f6f6f6',		//#FFFFFF VISITED Background
'#000000',		//#0089C4 VISITED Color
'none',			// VISITED TextDecoration
'[v_web2.0_arrow.gif]',	// VISITED SubMenuImageSource
'solid',		// CURRENT BorderStyle
'#FFFFFF',		// CURRENT BorderColor
'#FFFAE6',		// CURRENT Background
'#0089C4',		// CURRENT Color
'none',			// CURRENT TextDecoration
'[v_web2.0_arrow.gif]',	// CURRENT SubMenuImageSource
'padding-left:2px;padding-right:5px;height:18px;margin:0;display:block;',		// Custom additional CSS for the items (valid CSS)
'',		// OVER Custom additional CSS for the items (valid CSS)
'',		// CURRENT Custom additional CSS for the items (valid CSS)
''		// VISITED Custom additional CSS for the items (valid CSS)
]];


c_menus['Menu1']=[ // the UL element with id="Menu1"
[
// MAIN-MENU FEATURES
'horizontal',	// ItemsArrangement ('vertical','horizontal')
'relative',	// Position ('relative','absolute','fixed')
'0',		// X Position (values in CSS valid units- px,em,ex)
'0',		// Y Position (values in CSS valid units- px,em,ex)
false,		// RightToLeft display of the sub menus
false,		// BottomToTop display of the sub menus
0,		// X SubMenuOffset (pixels)
1,		// Y SubMenuOffset
'11em',		// Width (values in CSS valid units - px,em,ex) (matters for main menu with 'vertical' ItemsArrangement only)
'MM_H',		// CSS Class (one of the defined in section 2)
true		// Open sub-menus onclick (default is onmouseover)
],[
// SUB-MENUS FEATURES
0,		// X SubMenuOffset (pixels)
-1,		// Y SubMenuOffset
'auto',		// Width ('auto',values in CSS valid units - px,em,ex)
'100',		// MinWidth ('pixels') (matters/useful if Width is set 'auto')
'300',		// MaxWidth ('pixels') (matters/useful if Width is set 'auto')
'SM_H',		// CSS Class (one of the defined in section 2)
true		// Open sub-menus onclick (default is onmouseover)
]];


/*****************************
* MENU ĐỨNG BÊN TRÁI
*****************************/
c_styles['MM_V']=[ // MainMenu (the shorter the class name the better)
[
// MENU BOX STYLE
0,		// BorderWidth
'solid',	// BorderStyle (CSS valid values except 'none')
'#8F90C4',	// BorderColor ('color')
0,		// Padding
'#EFEFEF',	//#FFFFFF Background ('color','transparent','[image_source]')
'',		// IEfilter (only transition filters work well - not static filters)
'#FEFEFE'		// Custom additional CSS for the menu box (valid CSS)
],[
// MENU ITEMS STYLE
0,		// BorderWidth
'solid',	// BorderStyle (CSS valid values except 'none')
'solid',	// OVER BorderStyle
'#FFFFFF',	// BorderColor ('color')
'#6FADE6',	// OVER BorderColor
6,		// Padding
'transparent',	//#FFFFFF Background ('color','transparent','[image_source]')
'#dedede',	//#EFFFE2 OVER Background
'#000',	// Color
'#EA6D00',	// OVER Color
'12px',		// FontSize (values in CSS valid units - %,em,ex,px,pt)
'verdana,arial,helvetica,sans-serif',	// FontFamily
'bold',		// FontWeight (CSS valid values - 'bold','normal','bolder','lighter','100',...,'900')
'none',		// TextDecoration (CSS valid values - 'none','underline','overline','line-through')
'none',		// OVER TextDecoration
'left',		// TextAlign ('left','center','right','justify')
0,		// ItemsSeparatorSize
'solid',	// ItemsSeparatorStyle (border-style valid values)
'#8F90C4',	// ItemsSeparatorColor ('color','transparent')
0,		// ItemsSeparatorSpacing
true,			// UseSubMenuImage (true,false)
'[h_web2.0_arrow.gif]',	// SubMenuImageSource ('[image_source]')
'[h_web2.0_arrow.gif]',	// OverSubMenuImageSource
8,			// SubMenuImageWidth
4,			// SubMenuImageHeight
'14',			// SubMenuImageVAlign ('pixels from item top','middle')
'solid',		// VISITED BorderStyle
'#FFFFFF',		// VISITED BorderColor
'',		//#FFFFFF VISITED Background
'#000000',		//#0089C4 VISITED Color
'none',			// VISITED TextDecoration
'[h_web2.0_arrow.gif]',	// VISITED SubMenuImageSource
'solid',		// CURRENT BorderStyle
'#FFFFFF',		// CURRENT BorderColor
'#FFFAE6',		// CURRENT Background
'#000000',		//#0089C4 CURRENT Color
'none',			// CURRENT TextDecoration
'[h_web2.0_arrow.gif]',	// CURRENT SubMenuImageSource
'',		// Custom additional CSS for the items (valid CSS)
'',		// OVER Custom additional CSS for the items (valid CSS)
'',		// CURRENT Custom additional CSS for the items (valid CSS)
''		// VISITED Custom additional CSS for the items (valid CSS)
]];


c_styles['SM_V']=[ // SubMenus
[
// MENU BOX STYLE
1,		// BorderWidth
'solid',	// BorderStyle (CSS valid values except 'none')
'#002d96',	//#F1922F BorderColor ('color')
0,		// Padding
'#FEFEFE',	// Background ('color','transparent','[image_source]')
'',		// IEfilter (only transition filters work well - not static filters)
'border-bottom-width:2px;'	// Custom additional CSS for the menu box (valid CSS)
],[
// MENU ITEMS STYLE
0,		// BorderWidth
'solid',	// BorderStyle (CSS valid values except 'none')
'solid',	// OVER BorderStyle
'#FFFFFF',	// BorderColor ('color')
'#FFFFFF',	// OVER BorderColor
6,		// Padding
'#f6f6f6',	//#FFFFFF Background ('color','transparent','[image_source]')
'#ffeec2',	//#dedede#EFFFE2 OVER Background
'#000000',	//#0089C4 Color
'#000',	//#EA6D00 OVER Color
'12px',		// FontSize (values in CSS valid units - %,em,ex,px,pt)
'verdana,arial,helvetica,sans-serif',	// FontFamily
'bold',		// FontWeight (CSS valid values - 'bold','normal','bolder','lighter','100',...,'900')
'none',		// TextDecoration (CSS valid values - 'none','underline','overline','line-through')
'none',		// OVER TextDecoration
'left',		// TextAlign ('left','center','right','justify')
0,		// ItemsSeparatorSize
'solid',	// ItemsSeparatorStyle (border-style valid values)
'#8F90C4',	// ItemsSeparatorColor ('color','transparent')
0,		// ItemsSeparatorSpacing
true,			// UseSubMenuImage (true,false)
'[v_web2.0_arrow.gif]',	// SubMenuImageSource ('[image_source]')
'[v_web2.0_arrow.gif]',	// OverSubMenuImageSource
8,			// SubMenuImageWidth
8,			// SubMenuImageHeight
'11',			// SubMenuImageVAlign ('pixels from item top','middle')
'solid',		// VISITED BorderStyle
'#FFFFFF',		// VISITED BorderColor
'#f6f6f6',		//#FFFFFF VISITED Background
'#000000',		//#0089C4 VISITED Color
'none',			// VISITED TextDecoration
'[v_web2.0_arrow.gif]',	// VISITED SubMenuImageSource
'solid',		// CURRENT BorderStyle
'#FFFFFF',		// CURRENT BorderColor
'#FFFAE6',		// CURRENT Background
'#0089C4',		// CURRENT Color
'none',			// CURRENT TextDecoration
'[v_web2.0_arrow.gif]',	// CURRENT SubMenuImageSource
'padding-left:8px;padding-right:12px;',		// Custom additional CSS for the items (valid CSS)
'',		// OVER Custom additional CSS for the items (valid CSS)
'',		// CURRENT Custom additional CSS for the items (valid CSS)
''		// VISITED Custom additional CSS for the items (valid CSS)
]];

c_menus['Menu2']=[ // the UL element with id="Menu1"
[
// MAIN-MENU FEATURES
'vertical',	// ItemsArrangement ('vertical','horizontal')
'popup',	// Position ('relative','absolute','fixed')
'0',		// X Position (values in CSS valid units- px,em,ex)
'0',		// Y Position (values in CSS valid units- px,em,ex)
false,		// RightToLeft display of the sub menus
false,		// BottomToTop display of the sub menus
0,		// X SubMenuOffset (pixels)
1,		// Y SubMenuOffset
'200px',		// Width (values in CSS valid units - px,em,ex) (matters for main menu with 'vertical' ItemsArrangement only)
'MM_V',		// CSS Class (one of the defined in section 2)
true		// Open sub-menus onclick (default is onmouseover)
],[
// SUB-MENUS FEATURES
0,		// X SubMenuOffset (pixels)
-1,		// Y SubMenuOffset
'auto',		// Width ('auto',values in CSS valid units - px,em,ex)
'100',		// MinWidth ('pixels') (matters/useful if Width is set 'auto')
'300',		// MaxWidth ('pixels') (matters/useful if Width is set 'auto')
'SM_V',		// CSS Class (one of the defined in section 2)
true		// Open sub-menus onclick (default is onmouseover)
]];
/*****************************
* MENU SHORT CUT BÊN DƯỚI
*****************************/
c_menus['Menu3']=[ // the UL element with id="PopupMenu1"
[
// MAIN-MENU FEATURES
'vertical',	// ItemsArrangement ('vertical','horizontal')
'popup',	// Position ('relative','absolute','fixed')
'1px',		// X Position (values in CSS valid units- px,em,ex)
'1px',		// Y Position (values in CSS valid units- px,em,ex)
true,		// RightToLeft display of the sub menus
true,		// BottomToTop display of the sub menus
5,		// X SubMenuOffset (pixels)
1,		// Y SubMenuOffset
'auto',		// Width (values in CSS valid units - px,em,ex) (matters for main menu with 'vertical' ItemsArrangement only)
'Popup',	// CSS Class (one of the defined in section 2)
false		// Open sub-menus onclick (default is onmouseover)
],[
// SUB-MENUS FEATURES
5,		// X SubMenuOffset (pixels)
1,		// Y SubMenuOffset
'auto',		// Width ('auto',values in CSS valid units - px,em,ex)
'100',		// MinWidth ('pixels') (matters/useful if Width is set 'auto')
'300',		// MaxWidth ('pixels') (matters/useful if Width is set 'auto')
'Popup',	// CSS Class (one of the defined in section 2)
false		// Open sub-menus onclick (default is onmouseover)
]];